package cn.idietrade.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

/**
 * @author zjy
 * @version 1.0
 * @createTime 2022-11-29 15:15
 * @description
 */
@Data
@Alias("secondDistrict")
@NoArgsConstructor
@AllArgsConstructor
public class SecondDistrict {
    private Integer id;
    private Integer pid; //父类id
    private String secondDistrictName; //城市的名字
    private Integer type; //城市的类型，0是国，1是省，2是市，3是区
    private Integer hierarchy; //地区所处的层级
    private String secondDistrictSqe; //层级序列
}
